package com.frank.practice.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.frank.practice.entity.PracticeSet;
import com.frank.practice.entity.PracticeSetDetail;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author Frank Zou
 * @version v0.0.1
 * @date 2025/3/17
 * @description
 */
@Mapper
public interface PracticeSetMapper extends BaseMapper<PracticeSet> {

    /**
     * 根据 Set ID 增加套卷的热度
     *
     * @param setId 套卷 id
     */
    void updateHeat(@Param("setId") Long setId);
}